package com.ai.mydata.entity;

    import com.baomidou.mybatisplus.annotation.IdType;
    import com.baomidou.mybatisplus.annotation.TableField;
    import com.baomidou.mybatisplus.annotation.TableId;
    import com.baomidou.mybatisplus.annotation.TableName;
    import java.io.Serializable;
    import io.swagger.annotations.ApiModel;
    import io.swagger.annotations.ApiModelProperty;
    import lombok.Data;

/**
* <p>
    * 聊天样本
    * </p>
*
* @author liangalong
* @since 2024-11-12
*/
    @Data
    @TableName("q_a")
    @ApiModel(value = "QA对象", description = "聊天样本")
    public class QA implements Serializable {

    private static final long serialVersionUID = 1L;

            @ApiModelProperty("问题")
        @TableField("question")
    private String question;

            @ApiModelProperty("主键")
            @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

            @ApiModelProperty("回答")
        @TableField("answer")
    private String answer;


}




